//
//  ZBHomeViewController.m
//  XZBProduct
//
//  Created by xzb on 2018/7/2.
//  Copyright © 2018年 xzb. All rights reserved.
//

#import "ZBHomeViewController.h"
#import "ZBSegmentedViewController.h"
#import "ZBNetworkManager.h"
#import "ZBLargeImageBrowserView.h"


@interface ZBHomeViewController ()

@property (nonatomic, strong) ZBLargeImageBrowserView *largeImageBrowserView;

@end

@implementation ZBHomeViewController

#pragma mark - life cycle

- (void)viewDidLoad
{
    [super viewDidLoad];
    
    self.title = @"home";
    [self.view addSubview:self.largeImageBrowserView];
    [self.largeImageBrowserView loadLargeImageWithUrl:@"http://rec.grandeurbj.com/qingmingwanzheng.jpg"];
    
}

- (void)viewDidLayoutSubviews
{
    [super viewDidLayoutSubviews];
    
    self.largeImageBrowserView.bounds = CGRectMake(0, 0, CGRectGetWidth([UIScreen mainScreen].bounds), CGRectGetWidth([UIScreen mainScreen].bounds));
    self.largeImageBrowserView.center = self.view.center;
    
}

ZBLazyProperty(ZBLargeImageBrowserView, largeImageBrowserView);

@end
